package com.custom.lessonstudy.di;

import android.app.Application;
import android.content.Context;

public class BaseApplication extends Application {
    private static Context mInstance;
    @Override
    public void onCreate() {
        super.onCreate();
        mInstance = this;
    }


    public static Context getInstance() {
        if (null == mInstance) {
            mInstance = new BaseApplication();
        }
        return mInstance;
    }

}
